import request from '@/utils/request'

/**
* 查询信息
* @param data
*/
export function ${beanName?uncap_first}One (data) {
  return request({
    url: '/api/admin/api/${beanName?uncap_first}/queryOne',
    method: 'post',
    data
  })
}

/**
* 查询列表
* @param data
*/
export function ${beanName?uncap_first}Page (data) {
  return request({
        url: '/api/admin/api/${beanName?uncap_first}/page',
        method: 'post',
        data
  })
}

/**
* 查询信息
* @param data
*/
export function ${beanName?uncap_first}Save (data) {
  return request({
    url: '/api/admin/api/${beanName?uncap_first}/save',
    method: 'post',
    data
  })
}

/**
* 删除信息
* @param data
*/
export function ${beanName?uncap_first}Delete (data) {
  return request({
    url: '/api/admin/api/${beanName?uncap_first}/delete',
    method: 'post',
    data
  })
}
